搜索资源列表
CPU 测速(MHz)和高精度延时(微秒级)
- 一.高精度延时, 是 CPU 测速的基础 Windows 内部有一个精度非常高的定时器, 精度在微秒级, 但不同的系统这个定时器的频率不同, 这个频率与硬件和操作系统都可能有关。 利用 API 函数 QueryPerformanceFrequency 可以得到这个定时器的频率。 利用 API 函数 QueryPerformanceCounter 可以得到定时器的当前值。 根据要延时的时间和定时器的频率, 可以算出要延时的时间定时器经过的周期数。 在循环里用 QueryP
bootstrap
- 这个频率与硬件和操作系统都可能有关。利用 API 函数 QueryPerformanceFrequency 可以得到 这个定时器的频率。利用 API 函数 QueryPerformanceCounter 可以得到定时器的当前值。根据 要延时的时间和定时器的频率, 可以算出要延时的时间定时器经过的周期数。在循环里用 QueryPerformanceCounter 不停的读出定时器值, 一直到经过了指定周期数再结束循环, 就达到-the frequency with hardwa
单片机课程设计1
- 编写一个延时1MS子程序根据题目选择是定时还是记数状态,本题选择记数状态。然后根据延时1MS计算出计时器的初值是E0H(高8位)18H(低5位)。最后编写算法,对T0初始化,利用T0的中断TF0调用中断处理程序。-prepared a delay rungs subroutine under the topic chosen is not a time to memorize numbers or state of mind of the few options that state. Acco
timer.rar
- avr单片机的定时计数器的使用。包括各种延时子程序的调用。内有电路图。,avr Singlechip timing counter use. Include a variety of delay subroutine calls. There are circuit diagrams.
yanshiqi.rar
- 52单片机 定时器做的延时器 只作为简单的延时实验 对52里定时器的理解有一定帮助,52 MCU timer delay are only done as a simple experiment of 52 years of delay timer to some extent help the understanding of
AccurateTimer
- 利用多媒体计时器实现的毫秒级的延迟-Use of multimedia timer to achieve the millisecond delay
8051_jiao_tong_deng
- 基于51单片机的带时间显示和紧急控制的交通灯的设计。 此程序在硬件上调试通,用定时器1延时,外部中断0接紧急控制,R0为100MS延时常数,R2为状态延时常数,8279控制数码管显示时间,用P1口控制双色灯-With 51 single-chip based on the time display and the emergency control of traffic lights design. On this process in hardware debugging pass, w
DELAY
- 用计时器实现的精准的延时程序的代码,希望对大家有用,基于LPC2103-With the timer delay to achieve the precise procedure code
flash
- 跑马灯试验,先是奇数灯亮,然后偶数灯亮,然后从中间到两边亮,在两边到中间。(用定时器2实现延时)-Marquee pilot, first odd-numbered lights, and then even-numbered lights, and then from the middle to both sides of light in the middle on both sides. (Used to achieve delay timer 2)
ARMS65_v2timer
- ARM7 LPC2148 S65 FULL fution delay use timer
Timer-LED
- 闻亭TDS2407EA的LED程序,用定时器中断控制,产生比普通延时程序更精确的延时闪烁-Wintech TDS2407EA the LED process, using the timer interrupt control procedures than the general delay blinking more accurate delay
timer
- 用C语言实现在Xlinx公司的FPGA的延时程序在ISE软件编程环境下-With the C language implementation in the Xlinx the company' s FPGA-delay procedures in ISE software programming environments
Stm32.Share
- STM32 通过串口flash更新程序, 不用固件库,包括: ADC采样, 定时器延时中断, 键盘扫描, 模拟I2C驱动 问题咨询: w123456xy@sohu.com 15189792379-STM32 through the serial flash update, without firmware libraries, including: ADC sampling, delay timer interrupt, keyboard scanning, I2C driver Advis
Delay(vb)
- 在程序流程中经常要延时一段时间后再继续往下执行,在VB中常用的有以下几种方法 1、SLEEP 2、timer() 3、Windows API函数timeGetTime() -Process in the program often have to delay the implementation period of time then continue down, in VB there are several commonly used method 1, SLEEP 2, t
delay
- 利用ST7定时器输出比较功能定时1ms,定义几个全局变量,做的一个延时比较准确的delay函数,输入1000,就是1000ms-by using ST7 timer OCMP function to define 1ms and created several global variable to get accurate delay function.
The-use-of-51-single-chip-timer
- 51单片机定时器的使用.c 描述 相对前面的软件延时,定时器的延时更为精确。-The use of 51 single-chip timer. C relative to the previous descr iption of the software delay, delay timer is more precise.
delay
- *循环与延时程序 *该程序的功能可使接在F206的XF,IO2引脚上的发光二极管(红、绿灯)交替闪烁, *闪烁间隔为2s(亮2s,灭2s),闪烁总时间为2min *程序中用到了用DSP实现的延时模块。该模块是采用指令延时来实现的,这在很多 *程序中都可以用到,但在严格的情况下应使用定时器产生延时以提高精度和CPU效率。-* Loop and delay procedures* function allows the connection of the program in the
Delay-timer-of-two-experiments
- 51单片机内部两个定时计数器合用的延时实验源码-Two internal 51 single delay timer counter combined experimental source
Hardware-delay-timer-function
- 本程序使用定时器作为硬件延时函数,通过定时器匹配实现延时功能-This program uses a hardware timer delay function, delay function realized by a timer match
timer
- timer with atmega32 using delay and counter